package com.yummy.mapper;

import com.yummy.entity.Category;
import com.yummy.entity.DishFlavor;
import com.yummy.common.CommonMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author yinbo
* @description 针对表【dish_flavor(菜品口味关系表)】的数据库操作Mapper
* @createDate 2022-08-29 23:07:35
* @Entity com.yummy.entity.DishFlavor
*/
@Repository
public interface DishFlavorMapper extends CommonMapper<DishFlavor> {

	List<DishFlavor> selectDishFlavorByDishId(String dishId);

	int insertBatch(List<DishFlavor> flavors);

}
